ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 Assembly / C1.Util.DX.Direct2D Namespace / DrawingStateBlock Class / Create Method / Create(Factory,Nullable<DrawingStateDescription>,RenderingParams) Method
an instance of Factory
A structure that contains antialiasing, transform, and tags information.
Optional text parameters that indicate how text should be rendered.

In This Topic
    Create(Factory,Nullable<DrawingStateDescription>,RenderingParams) Method
    In This Topic
    Creates an DrawingStateBlock that can be used with the {{SaveDrawingState}} and {{RestoreDrawingState}} methods of a render target.
    Syntax
    'Declaration
     
    Public Overloads Shared Function Create( _
       ByVal factory As Factory, _
       ByVal drawingStateDescription As Nullable(Of DrawingStateDescription), _
       ByVal textRenderingParams As RenderingParams _
    ) As DrawingStateBlock

    Parameters

    factory
    an instance of Factory
    drawingStateDescription
    A structure that contains antialiasing, transform, and tags information.
    textRenderingParams
    Optional text parameters that indicate how text should be rendered.
    See Also